//package com.deer.wms.ASN.manage.service.CONTWebService;
//
//
//import com.deer.wms.base.system.service.MESWebService.MesWebService;
//import com.deer.wms.base.system.service.MESWebService.MesWebServiceImpl;
//import org.apache.cxf.jaxws.EndpointImpl;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//import javax.xml.ws.Endpoint;
//
//@Configuration
//public class CxfConfig {
////    @Autowired
////    private MesWebService mesWebService;
//
//    @Bean
//    public Endpoint getEndpoint() {
//
//        //本机地址必须是当前运行环境下的ip地址，端口号及名称自定义
//        String ipAddress = "http://127.0.0.1:8916/WMSMesWebService?wsdl";
////        Endpoint publish = EndpointImpl.publish(ipAddress,mesWebService);
//        MesWebService mesWebService  = new MesWebServiceImpl();
//        Endpoint publish = EndpointImpl.publish(ipAddress,mesWebService);
//        return publish;
//    }
//}
